import Vue from 'vue'
import App from './App.vue'


import "bootstrap/dist/css/bootstrap.css"
import "./assets/fonts/iconfont.css"
Vue.config.productionTip = false

import axios from 'axios'
axios.defaults.baseURL = 'https://www.escook.cn'
Vue.prototype.$http = axios

//全局命令
//自动获取焦点
Vue.directive('foc', {
  inserted(el) {
    el.focus()
  }
})
new Vue({
  render: h => h(App),
}).$mount('#app')
